project(cmsis_mem)

file(GLOB DIR_LIB_SRCS "cmsis_mem_tlsf.c" "cmsis_mem.c")


add_library(${PROJECT_NAME}  ${DIR_LIB_SRCS})

target_include_directories(${PROJECT_NAME}  PUBLIC "./")

add_dependencies(${PROJECT_NAME} kernal_cmsis tlsf)
target_link_libraries(${PROJECT_NAME} kernal_cmsis tlsf)
target_compile_options(${PROJECT_NAME} PRIVATE -g)